# from sys import getsizeof
# t = (1, 2, 3, 4, 5, 6, 7, 8, 9, 0)
# l = [1, 2, 3, 4, 5, 6, 7, 8, 9, 0]
# print(getsizeof(t))
# print(getsizeof(l))

# stu = {"name":"Tom", "age": 23, "gender":"male"}
# print(stu.get('gender'))
# print(stu['gender'])
# del stu['name']
# print(stu)
# print(stu.keys())
# print(stu.values())
# print(stu.items())
# print(stu.get('gender',"邯郸"))



# stu = {'name': 'Tom', 'age': 23, 'gender': 'male', 'address': 'BeiJing'}
#
# stu.setdefault("hobby1")
# print(stu)
# stu.setdefault("hobby2", "无")
# print(stu)

# stu = {'name': 'Tom', 'age': 23, 'gender': 'male', 'address': 'BeiJing'}
# newStu = {"name":"Jack","hobby":"eat"}
# stu.update(newStu)
# print(stu)
#
# stu = {'name': 'Tom', 'age': 23, 'gender': 'male', 'address': 'BeiJing'}
# v = stu.pop("name")
# print(v)
# print(stu)
# 如果分数大于等于90分，根据性别，输出内容为：卓越的先生/女士
# 如果分数大于等于80分，根据性别，输出内容为：优秀的先生/女士
# 如果分数大于等于70分，根据性别，输出内容为：良好的先生/女士
# 如果分数大于等于60分，根据性别，输出内容为：合格的先生/女士
# 如果分数小于60分，根据性别，输出内容为：不合格的先生/女士

# def sortscore(score,gender):
#     if score >= 90:
#         if gender == 'male':
#             print("卓越的先生")
#         else:
#             print("卓越的女士")
#     elif score >= 80:
#         if gender == 'male':
#             print("优秀的先生")
#         else:
#             print("优秀的女士")
#     elif score >= 70:
#         if gender == 'male':
#             print("良好的先生")
#         else:
#             print("良好的女士")
#     elif score >= 60:
#         if gender == 'male':
#             print("合格的先生")
#         else:
#             print("合格的女士")
#     else:
#         if gender == 'male':
#             print("不合格的先生")
#         else:
#             print("不合格的女士")
#
# sortscore(88,'male')

#for-in 循环： 计次循环

# for i in range(1,101,2):
#     print(i, end=" ")

#实战1： 求 1~10 之间所有整数的乘积。
product = 1
# n = 1
# while n<=10:
#     product *= n
#     n += 1

# for i in range(1,11):
#     product *= i
# print("1~10 之间所有整数的乘积",product)

# password = "password" # 设置正确的密码
# input_password = ""
#
# while input_password != password:
#     input_password = input("请输入密码: ")
#
# print("密码正确，登录成功！")

n = 1
while n<=100:
    if n % 7 == 0 or "7" in str(n):
        print("符合条件的数据：",n)
    n += 1
